Pagini recente » Borderou de evaluare (job #744909) | Borderou de evaluare (job #1444050) | Borderou de evaluare (job #662123) | Borderou de evaluare (job #408879) | Borderou de evaluare (job #1297726)
Borderou de evaluare (job #1297726)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:32: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[35]’ [-Wformat=]
fscanf(fin,"%s",&ch);
^
user.cpp:10:16: warning: unused variable ‘mas’ [-Wunused-variable]
int n,size,mas,mp;
^
user.cpp:13:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&n);
^
user.cpp:14:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%c",&chi);
^
user.cpp:17:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%s",&ch);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | OK | 10 |
2 | 0ms | 256kb | OK | 10 |
3 | 0ms | 256kb | OK | 10 |
4 | 0ms | 252kb | OK | 10 |
5 | 0ms | 260kb | OK | 10 |
6 | 8ms | 260kb | OK | 10 |
7 | 32ms | 260kb | OK | 10 |
8 | 52ms | 264kb | OK | 10 |
9 | 112ms | 260kb | OK | 10 |
10 | 140ms | 260kb | Incorect | 0 |
Punctaj total | 90 |