Pagini recente » Borderou de evaluare (job #40291) | Borderou de evaluare (job #764185) | Borderou de evaluare (job #1081883) | Borderou de evaluare (job #2433470) | Borderou de evaluare (job #1225470)
Borderou de evaluare (job #1225470)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:12: warning: unused variable ‘nr’ [-Wunused-variable]
int n, nr, p, prim, ultim;
^
user.cpp:17:10: warning: unused variable ‘x’ [-Wunused-variable]
char x;
^
user.cpp:18:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d\n", &n);
^
user.cpp:24:29: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(ch, NMAX, fin);
^
user.cpp:50:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "\n");
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 704kb | OK | 10 |
2 | 0ms | 1348kb | OK | 10 |
3 | 0ms | 2368kb | OK | 10 |
4 | 4ms | 3568kb | OK | 10 |
5 | 8ms | 4884kb | OK | 10 |
6 | 20ms | 9872kb | OK | 10 |
7 | 44ms | 16084kb | OK | 10 |
8 | 84ms | 23908kb | OK | 10 |
9 | 116ms | 28596kb | OK | 10 |
10 | 136ms | 31724kb | OK | 10 |
Punctaj total | 100 |