Pagini recente » Borderou de evaluare (job #1176106) | Borderou de evaluare (job #2321432) | Borderou de evaluare (job #2607863) | Borderou de evaluare (job #2816839) | Borderou de evaluare (job #1247930)
Borderou de evaluare (job #1247930)
Raport evaluator
Compilare:
user.cpp: In function ‘void citeste()’:
user.cpp:18:22: warning: format ‘%i’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%i",&np);
^
user.cpp:20:45: warning: format ‘%i’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%i %i",&p[i].x,&p[i].y);
^
user.cpp:20:45: warning: format ‘%i’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:18:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%i",&np);
^
user.cpp:20:46: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%i %i",&p[i].x,&p[i].y);
^
user.cpp: In function ‘int main()’:
user.cpp:99:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%i",&t);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 428kb | OK | 10 |
| 2 | 0ms | 444kb | OK | 10 |
| 3 | 4ms | 468kb | OK | 10 |
| 4 | 108ms | 1052kb | Incorect | 0 |
| 5 | 108ms | 1052kb | Incorect | 0 |
| 6 | 108ms | 1052kb | Incorect | 0 |
| 7 | 108ms | 1056kb | Incorect | 0 |
| 8 | 108ms | 1052kb | Incorect | 0 |
| 9 | 108ms | 1052kb | Incorect | 0 |
| 10 | 108ms | 1052kb | Incorect | 0 |
| Punctaj total | 30 |