Pagini recente » Borderou de evaluare (job #858682) | Borderou de evaluare (job #734555) | Borderou de evaluare (job #2118880) | Borderou de evaluare (job #2799962) | Borderou de evaluare (job #1307722)
Borderou de evaluare (job #1307722)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:350:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
fprintf(fout,"%d\n%d\n",cul-1,maxim);
^
user.cpp:367:44: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘long int’ [-Wformat=]
fprintf(fout,"%d %d %d\n",p1,p2,maxim+1);
^
user.cpp:324:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d",&n,&m);
^
user.cpp:328:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%c",&cx);
^
user.cpp:331:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%c",&cx);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | OK | 10 |
2 | 0ms | 272kb | Incorect | 0 |
3 | 0ms | 852kb | Incorect | 0 |
4 | 0ms | 788kb | Incorect | 0 |
5 | 0ms | 664kb | OK | 10 |
6 | 0ms | 364kb | OK | 10 |
7 | 0ms | 636kb | Incorect | 0 |
8 | 0ms | 348kb | Incorect | 0 |
9 | 0ms | 376kb | OK | 10 |
10 | 0ms | 920kb | OK | 10 |
Punctaj total | 50 |