Pagini recente » Borderou de evaluare (job #2295127) | Borderou de evaluare (job #543221) | Borderou de evaluare (job #1894750) | Borderou de evaluare (job #1546866) | Borderou de evaluare (job #1297702)
Borderou de evaluare (job #1297702)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:31: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[50]’ [-Wformat=]
fscanf(fin,"%s",&s);
^
user.cpp:35:36: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(fout,"%ld \n",a);
^
user.cpp:21:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%ld\n",&t);
^
user.cpp:26:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%s",&s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 10 |
2 | 0ms | 260kb | OK | 10 |
3 | 0ms | 260kb | OK | 10 |
4 | 0ms | 256kb | OK | 10 |
5 | 0ms | 260kb | OK | 10 |
6 | 8ms | 256kb | OK | 10 |
7 | 28ms | 260kb | OK | 10 |
8 | 48ms | 260kb | OK | 10 |
9 | 92ms | 252kb | OK | 10 |
10 | 96ms | 260kb | Incorect | 0 |
Punctaj total | 90 |