Pagini recente » Cod sursa (job #1644980) | Borderou de evaluare (job #1670133)
Borderou de evaluare (job #1670133)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
#define fs(n) fscanf(f,"%I64d",&n)
^
user.cpp:39:5: note: in expansion of macro ‘fs’
fs(n);
^
user.cpp:15:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
#define fs(n) fscanf(f,"%I64d",&n)
^
user.cpp:42:9: note: in expansion of macro ‘fs’
fs(x);
^
user.cpp:59:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( j=0; j<v.size(); ++i)
^
user.cpp:65:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fp(g,"%I64d %I64d\n",nr,s);
^
user.cpp:65:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long long int’ [-Wformat=]
user.cpp:39:10: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fs(n);
^
user.cpp:42:14: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fs(x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 272kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
2 | 0ms | 268kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
3 | 0ms | 276kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
4 | 0ms | 268kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
5 | 0ms | 268kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
6 | 0ms | 272kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
7 | 0ms | 268kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
8 | 0ms | 272kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
9 | 0ms | 272kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 268kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |