Pagini recente » Borderou de evaluare (job #497928) | Borderou de evaluare (job #2708238) | Borderou de evaluare (job #1450687) | Borderou de evaluare (job #1918374) | Borderou de evaluare (job #1741067)
Borderou de evaluare (job #1741067)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f, "%d", &t);
^
user.cpp:30:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f, "%d %d", &n, &m);
^
user.cpp:30:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:35:47: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f, "%d %d %d", &nstart, &nend, &cost);
^
user.cpp:35:47: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:35:47: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=]
user.cpp:27: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:30:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d %d", &n, &m);
^
user.cpp:35:48: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d %d %d", &nstart, &nend, &cost);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 14444kb | Time limit exceeded. | 0 |
Punctaj total | 0 |