Pagini recente » Borderou de evaluare (job #1080273) | Borderou de evaluare (job #2957132) | Borderou de evaluare (job #1233531) | Borderou de evaluare (job #2590874) | Borderou de evaluare (job #1351173)
Borderou de evaluare (job #1351173)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f, "%d", &T);
^
user.cpp:28:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f, "%d", &n);
^
user.cpp:31:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f, "%d", &x);
^
user.cpp:39:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(f2, "%d\n", (a+b+(a*b))%m);
^
user.cpp:24:21: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &T);
^
user.cpp:28:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &n);
^
user.cpp:31:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 264kb | Time limit exceeded. | 0 |
Punctaj total | 0 |